/**
 * 
 */
package com.blog.service;

import java.util.List;
import java.util.Set;

import com.blog.pojo.SysRole;
import com.blog.pojo.SysUser;

/**
 * @author zyj
 *
 */
public interface SysRoleService {
	public Set<String> listSysRoleNames(String roleName);
    public List<SysRole> listSysRoles(String userName);
    public List<SysRole> listSysRoles(SysUser user);
 
    public List<SysRole> list();
    public void add(SysRole SysRole);
    public void delete(Long id);
    public SysRole get(Long id);
    public void update(SysRole SysRole);
}
